package com.icss.day05;


public class A2 {
    private A2() {

    }
    private static A2 a;
    public static synchronized A2 newInstanc() {
        if (a == null) {
            a = new A2();
        }
        return a;
    }
}
